<script type="text/javascript">
    $(document).ready(function() {  
        // date picker
        $(".tanggal").datepicker({
            target: 'tanggal',
            changeMonth: true,
            changeYear: true,
            showOn: 'both',
            buttonImage: '{$BASEURL}/resource/doc/images/icon/calendar.gif',
            buttonImageOnly: true,
            dateFormat: 'yy-mm-dd'
        }); 
    });
</script>
<div class="breadcrum">
    <p>
        <a href="{$config->site_url('master/overview')}">Master</a>
        <span></span><a href="{$config->site_url('master/personil')}">Personil</a>
        <span></span><small>Hapus Data {$result.personil_nama|default:''}</small>
    </p>
    <div class="clear"></div>
</div>  
<div class="sub-content">  
    <div class="navigation">  
        <div class="navigation-button">
            <ul>
                <li><a href="{$config->site_url('master/personil/add')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/add-icon.png">Tambah Data</a></li>
                <li><a href="{$config->site_url('master/personil')}"><img alt="" src="{$BASEURL}/resource/doc/images/icon/icon.notes.blue.png">Daftar Data</a></li> 
            </ul>
            <div class="clear"></div>
        </div>
    </div> 
    <!-- notification template -->
    {include file="base/templates/notification.html"}
    <!-- end of notification template--> 
    <form action="{$config->site_url('master/personil/delete_process')}" method="post" enctype="multipart/form-data">
        <input type="hidden" value="{$result.personil_id|default:''}" name="personil_id">
        <table width="100%" class="table-input">
            <tbody>
                <tr class="headrow">
                    <th colspan="2">Hapus Personil</th>
                </tr> 
                <tr>
                    <td width="15%">Nama</td>
                    <td>{$result.personil_nama|default:''}</td> 
                </tr>
                <tr>
                    <td>Tanggal Lahir</td>
                    <td>{$dtm->get_full_date($result.personil_tgllahir)}</td> 
                </tr>
                <tr>
                    <td>Nomor Telpon</td>
                    <td>{$result.personil_notelpon|default:''}</td> 
                </tr>
                <tr>
                    <td>Foto</td>
                    <td>
                        {if $result.personil_picture|default:'' neq ''}
                            <img src="{$BASEURL}/resource/userfile/personil/{$result.personil_picture}" width="128px" height="128px" />
                        {else}
                            <img src="{$BASEURL}/resource/userfile/personil/default.png" width="128px" height="128px" />
                        {/if} 
                    </td> 
                </tr> 
                <tr class="submit-box">
                    <td colspan="2">
                        <input type="submit" class="edit-button" value="Hapus" name="save[insert]"> 
                    </td>
                </tr>
            </tbody>
        </table>
    </form> 
</div>